package com.njit.mailm.core.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/5/9.
 */
public class Classify {
    private String id;
    private String name;
    private boolean isRoot;
    private List<Classify> child;
    private String childId;
    private User user;
    private List<MessageWrap> messages;

    public String getChildId() {
        return childId;
    }

    public void setChildId(String childId) {
        this.childId = childId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<MessageWrap> getMessages() {
        return messages;
    }

    public void setMessages(List<MessageWrap> messages) {
        this.messages = messages;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isRoot() {
        return isRoot;
    }

    public void setRoot(boolean root) {
        isRoot = root;
    }

    public List<Classify> getChild() {
        return child;
    }

    public void setChild(List<Classify> child) {
        this.child = child;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
